package cn.com.generaldata.os.importpojo;

import java.util.Date;

import com.sun.xml.internal.bind.CycleRecoverable;

/**
 * 报表类型实体
 */
public class ReportInputTitle implements java.io.Serializable, CycleRecoverable {
	private static final long serialVersionUID = 5454155825314635342L;

	private Integer id;
	private String title;
	private String attrName;
	private String exp;
	private Integer position;
	private Integer type;
	private Integer dataType;
	private java.sql.Timestamp createTime;
	private java.sql.Timestamp lastUpdate;

	/**
	 * 解决CXF循环引用问题.
	 * 
	 * @param arg0
	 * @return
	 */
	@Override
	public Object onCycleDetected(Context arg0) {
		ReportInputTitle temp = new ReportInputTitle();
		temp.setId(id);
		return temp;
	}

	public ReportInputTitle(Integer id, String title, String attrName, String exp, Integer position, Integer type,
			Integer dataType, java.sql.Timestamp createTime, java.sql.Timestamp lastUpdate) {
		super();
		this.id = id;
		this.title = title;
		this.attrName = attrName;
		this.exp = exp;
		this.position = position;
		this.type = type;
		this.dataType = dataType;
		this.createTime = createTime;
		this.lastUpdate = lastUpdate;
	}

	public ReportInputTitle() {
		super();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAttrName() {
		return attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}

	public String getExp() {
		return exp;
	}

	public void setExp(String exp) {
		this.exp = exp;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getDataType() {
		return dataType;
	}

	public void setDataType(Integer dataType) {
		this.dataType = dataType;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPosition() {
		return position;
	}

	public void setPosition(Integer position) {
		this.position = position;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.sql.Timestamp createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdate() {
		return lastUpdate;
	}

	public void setLastUpdate(java.sql.Timestamp lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

}
